const path = require('path')
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    vue()
  ],
  resolve: {
      alias: {
          '@': path.resolve(__dirname, './src')
      },
  },
  css: {
    // 引入 autoprefixer
      postcss: {
          plugins: [
              require('autoprefixer')
          ]
      }
  }
})
